#ifndef DISTINGUISHCHANGE_H
#define DISTINGUISHCHANGE_H

#include "person.h"
#include <QWidget>
#include "QNetworkRequest"
#include "QNetworkReply"

namespace Ui {
class distinguishChange;
}

class distinguishChange : public QWidget
{
    Q_OBJECT

public:
    explicit distinguishChange(QWidget *parent = nullptr, Person * m_user = nullptr);
    ~distinguishChange();
    void basicSettings(); //基础设置
    void connectSettings(); //连接设置

private:
    Ui::distinguishChange *ui;

    Person * disting_user = nullptr; //用户信息指针
    QString originalPath;
    QString targetPath;
    QString resultPath;

public slots:
    void btnOriginal_clicked();
    void btnTarget_clicked();
    void btnResult_clicked();
    void dealMsg(QNetworkReply *reply);

signals:
    void showWait();
    void closeWait();
};

#endif // DISTINGUISHCHANGE_H
